﻿using Hu.Domains.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Hu.Domain.Model
{

    public class HuUser : HuBaseEntity
    {
        [MaxLength(50)]
        public string? RealName { get; set; }
        [MaxLength(50)]
        public required string UserName { get; set; }
        [MaxLength(100)]
        public required string Password { get; set; }
        [MaxLength(50)]
        public string? Email { get; set; }
        public int Age { get; set; }
    }
}
